<template>
  <div class="fan-button-group">
    <slot></slot>
  </div>
</template>

<script>
import FanButton from './button.vue'
export default {
  components: { FanButton},
}
</script>

<style>
.fan-button-group{
  display: inline-block;
  vertical-align: middle;
}

.fan-button-group .fan-button{
  margin: 0;
}
.fan-button-group>.fan-button:not(:last-child) {
    margin-right: 1px;
}

.fan-button-group>.fan-button:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.fan-button-group>.fan-button:not(:first-child):not(:last-child) {
    border-radius: 0;
}
.fan-button-group>.fan-button:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
</style>